/*
 * Copyright (c) 1994-2022, The FreeBSD Documentation Project
 * Copyright (c) 2021-2022, Sergio Carlavilla <carlavilla@FreeBSD.org>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 */

:root {
  --max-width: 1450px;
  --header-height: 4.5rem;
  --documentation-padding: 0px 20px 20px 20px;

  --size-300: 0.75rem;
  --size-400: 1rem;
  --size-500: 1.33rem;
  --size-550: 1.55rem;
  --size-600: 1.77rem;
  --size-700: 2.30rem;
  --size-750: 2.40rem;
}

.theme-light {
  --white: #FFF;
  --black: #000;
  --global-font-color: #444;
  --header-background: #AB2B28;
  --header-font-color: #FFF;
  --global-background-color: #FFF;
  --card-background-color: #F0F1F5;
  --card-border-color: #F0F1F5;
  --table-header-background-color: #F1F3F1;
  --table-header-font-color: #444;
  --footer-background-color: #F0F1F5;
  --footer-border-color: #F0F1F5;
  --lines-color: #DDD;
  --links-color: #0645AD;
  --pre-background-color: #F4F4F4;
  --pre-font-color: #444;
  --copy-clipboard-tooltip-background-color: #43453B;

  --admonition-font-color: #444;
  --admonition-links-color: #0645AD;
  --admonition-note-color: #19407C;
  --admonition-note-background-color: #EAF1FB;
  --admonition-warning-color: #BF6900;
  --admonition-warning-background-color: #FFF4E6;
  --admonition-important-color: #BF0000;
  --admonition-important-background-color: #FFE6E6;
  --admonition-caution-color: #BF3400;
  --admonition-caution-background-color: #FFECE6;
  --admonition-tip-color: #43B929;
  --admonition-tip-background-color: #EDFAEA;
  --example-block-color: #F1BB16;
  --example-block-background-color: #FEF8E7;
  --example-block-font-color: #444;

  --footer-logo: "";
}

.theme-dark {
    --white: #FFF;
    --black: #000;
    --global-font-color: #EEEFF1;
    --header-background: #AB2B28;
    --header-font-color: #EEEFF1;
    --global-background-color: #333333;
    --card-background-color: #272727;
    --card-border-color: #272727;
    --table-header-background-color: #F1F3F1;
    --table-header-font-color: #444;
    --footer-background-color: #2B2B2B;
    --footer-border-color: #2B2B2B;
    --lines-color: #4d4d4d;
    --links-color: #BAD7FF;
    --pre-background-color: #272727;
    --pre-font-color: #EEEFF1;
    --copy-clipboard-tooltip-background-color: #43453B;

    --admonition-font-color: #444;
    --admonition-links-color: #1A79FF;
    --admonition-note-color: #19407C;
    --admonition-note-background-color: #EAF1FB;
    --admonition-warning-color: #BF6900;
    --admonition-warning-background-color: #FFF4E6;
    --admonition-important-color: #BF0000;
    --admonition-important-background-color: #FFE6E6;
    --admonition-caution-color: #BF3400;
    --admonition-caution-background-color: #FFECE6;
    --admonition-tip-color: #43B929;
    --admonition-tip-background-color: #EDFAEA;
    --example-block-color: #F1BB16;
    --example-block-background-color: #FEF8E7;
    --example-block-font-color: #272727;}

.theme-high-contrast {
  --white: #FFF;
  --black: #000;
  --global-font-color: #FFF;
  --header-background: #AB2B28;
  --header-font-color: #FFF;
  --global-background-color: #000;
  --card-background-color: #000;
  --card-border-color: #FFF;
  --table-header-background-color: #FFF;
  --table-header-font-color: #000;
  --footer-background-color: #000;
  --footer-border-color: #FFF;
  --lines-color: #FFF;
  --links-color: #9F0E0F;
  --pre-background-color: #FFF;
  --pre-font-color: #000;
  --copy-clipboard-tooltip-background-color: #43453B;

  --admonition-font-color: #000;
  --admonition-note-color: #19407C;
  --admonition-links-color: #9F0E0F;
  --admonition-note-background-color: #EAF1FB;
  --admonition-warning-color: #BF6900;
  --admonition-warning-background-color: #FFF4E6;
  --admonition-important-color: #BF0000;
  --admonition-important-background-color: #FFE6E6;
  --admonition-caution-color: #BF3400;
  --admonition-caution-background-color: #FFECE6;
  --admonition-tip-color: #43B929;
  --admonition-tip-background-color: #EDFAEA;
  --example-block-color: #F1BB16;
  --example-block-background-color: #FEF8E7;
  --example-block-font-color: #000;
}
